package cn.walls1717.wallsmall.order.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * 线程池yml配置信息
 *
 * @author walls1717
 * @since 2022/11/11 14:21
 **/
@Data
@Component
@ConfigurationProperties(prefix = "wallsmall.thread")
public class ThreadPoolPropertiesConfig {

    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
}
